const fenceRule = {
  In: {
    value: 0,
    label: '进栏'
  },
  Out: {
    value: 1,
    label: '出栏'
  }
}

const fenceRuleMap = {}

for (const key in fenceRule) {
  const rule = fenceRule[key]
  fenceRuleMap[rule.value] = rule
}

export {fenceRule, fenceRuleMap}
